<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 未访问的链接 */
        a:link {
            color: #333;
            text-decoration: none;
        }

        /* 已访问的链接 */
        a:visited {
            color: orange;
        }

        /* 鼠标经过的链接 */
        a:hover {
            color: blue;
        }

        /* 鼠标点击但还没有弹起的窗口 */
        a:active {
            color: green;
        }
    </style>
</head>

<body>
    <a href="#">我是小猪佩奇</a>
</body>

</html>